#ifndef __MY_ARRAY_H__
#define __MY_ARRAY_H__

struct MyArray;

typedef void (*visitor)(void* p);

struct MyArrayer{
	struct MyArray* (*ctor)(size_t len);
	void			(*dtor)(struct MyArray*);
	size_t			(*length)(struct MyArray*);
	void			(*foreach)(struct MyArray*, visitor accesor);
};
#endif
